<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class="active"><a href="/app/core/project/myprotask" aria-expanded="true">我的项目任务 </a></li>
                        <li class=""><a href="/app/core/project/myprotask?view=process" aria-expanded="false">任务处理过程</a></li>
                    </ul>
                    <div class="tab-content tabs-flat">
                        <div class="row">
                            <div class="col-md-12 col-sm-12 col-xs-12">
                                <div class="btn-group" id="toobar">
                                    <span style="margin-left: 10px;">项目类型:</span>
                                    <span>
                                        <input readonly="readonly" placeholder="项目类型" style="width: 150px; display: inline-block;" id="proSortQuery" class="form-control">
                                        <div id="menuContent" class="menuContent">
                                                            <ul id="menuTree" class="ztree"></ul>
                                                        </div>
                                    </span>
                                    <span style="margin-left: 10px;">开始日期:</span>
                                    <span>
                                        <input readonly="readonly" placeholder="开始日期" style="width: 150px; display: inline-block;" id="beginTimeQuery"
                                               class="form-control">
                                    </span>
                                    <span style="margin-left: 10px;">-</span>
                                    <span>
                                        <input readonly="readonly" placeholder="开始日期" style="width: 150px; display: inline-block;" id="endTimeQuery"
                                               class="form-control">
										</span>
                                    <span style="margin-left: 20px"> <a href="javascript:void(0);" class="btn btn-magenta js-simple-query">${i18n('system.search')}</a></span>
                                </div>
                                <table id="myTable"></table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade bs-example-modal-lg" id="processModel" tabindex="-1" role="dialog"
         aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;overflow-y: auto;">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title">任务完成情况</h4>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal form-bordered" role="form" id="form1">
                        <table class="table table-hover table-striped table-bordered">
                            <tr>
                                <td width="20%">事件标题：</td>
                                <td width="30"><input type="text" class="form-control" name="title" id="title" placeholder="事件标题"></td>
                            </tr>
                            <tr>
                                <td width="20%">完成时间：</td>
                                <td width="30"><input type="text" class="form-control" name="finishTime" id="finishTime" placeholder="完成时间" readonly="readonly"></td>
                            </tr>
                            <tr>
                                <td width="20%">完成进度：</td>
                                <td width="30"><input type="number" class="form-control" name="process" id="process" placeholder="完成进度"></td>
                            </tr>
                            <tr>
                                <td width="10%">处理结果：</td>
                                <td><textarea type="text" class="form-control" name="resContent" id="resContent"
                                              placeholder="处理结果" rows="3"></textarea></td>
                            </tr>
                            <tr>
                                <td width="20%">${i18n('attach')}：</td>
                                <td width="30">
                                    <div id="show_attach"></div>
                                    <a class="addfile" href="javascript:void(0)">${i18n('fileupload')}
                                        <input data_value="" type="file" onchange="fileUpLoad('project','attach');" hidefocus="true"
                                               maxlength="1" id="attach" name="attach" class="addfile" multiple="multiple"></a>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                    <button type="button" class="btn btn-primary js-process">${i18n('ok')}</button>
                </div>
            </div>
        </div>
    </div>

    <div class="modal fade bs-example-modal-lg" id="problemModel" tabindex="-1" role="dialog"
         aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;overflow-y: auto;">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title">问题反馈</h4>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal form-bordered" role="form" id="form2">
                        <table class="table table-hover table-striped table-bordered">
                            <tr>
                                <td width="20%">问题标题：</td>
                                <td width="30"><input type="text" class="form-control" name="title" id="titleP" placeholder="问题标题"></td>
                            </tr>
                            <tr>
                                <td width="20%">问题类型：</td>
                                <td width="30"><select class="form-control" name="problemTypeP" id="problemTypeP" style="width: 150px;"></select></td>
                            </tr>
                            <tr>
                                <td width="10%">问题描述：</td>
                                <td><textarea type="text" class="form-control" name="remarkP" id="remarkP"
                                              placeholder="问题描述" rows="3"></textarea></td>
                            </tr>
                            <tr>
                                <td width="20%">${i18n('attach')}：</td>
                                <td width="30">
                                    <div id="show_attachP"></div>
                                    <a class="addfile" href="javascript:void(0)">${i18n('fileupload')}
                                        <input data_value="" type="file" onchange="fileUpLoad('project','attachP');" hidefocus="true"
                                               maxlength="1" id="attachP" name="attachP" class="addfile" multiple="multiple"></a>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                    <button type="button" class="btn btn-primary js-problem">反馈</button>
                </div>
            </div>
        </div>
    </div>

    <div class="modal fade bs-example-modal-lg" id="setbpmmodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"
         style="display: none;">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title">流程选择</h4>
                </div>
                <div class="modal-body">
                    <table class="table table-hover table-striped table-bordered">
                        <tr>
                            <td width="20%">选择流程：</td>
                            <td width="80%" colspan="3">
                                <select id="flowId" name="flowId" class="form-control"></select>
                            </td>
                        </tr>
                        <tr>
                            <td width="20%">流程标题：</td>
                            <td width="80%" colspan="3"><input placeholder="流程标题" type="text" name="bpmTitle" id="bpmTitle" maxlength="200" class="form-control"></td>
                        </tr>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                    <button type="button" class="btn btn-primary js-add-bpm">${i18n('system.create')}</button>
                </div>
            </div>
        </div>
    </div>
</div>


<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/project/task/index.js"></script>
</body>
</html>
